<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旅游规划助手 - 苏州数字文旅</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#E63946',
                        secondary: '#457B9D',
                        accent: '#F1C40F',
                        dark: '#1D3557',
                        light: '#F1FAEE',
                    },
                    fontFamily: {
                        sans: ['PingFang SC', 'Helvetica Neue', 'Arial', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-shadow {
                box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            }
            .nav-item-active {
                color: #E63946;
                border-bottom: 3px solid #E63946;
            }
            .step-active {
                background-color: #E63946;
                color: white;
            }
            .step-line-active {
                background-color: #E63946;
            }
        }
    </style>
</head>
<body class="bg-gray-50 h-screen flex flex-col">
    <!-- 顶部导航 -->
    <header class="bg-white shadow-sm sticky top-0 z-10">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <a href="home.html" class="text-gray-600 hover:text-primary transition-colors">
                <i class="fa fa-arrow-left text-xl"></i>
            </a>
            <h1 class="text-[clamp(1.2rem,5vw,1.5rem)] font-bold text-dark">旅游规划助手</h1>
            <div class="w-8"></div> <!-- 占位元素，保持标题居中 -->
        </div>
    </header>

    <!-- 主内容区 -->
    <main class="flex-1 overflow-y-auto">
        <!-- 规划步骤 -->
        <div class="bg-white p-4">
            <div class="flex justify-between items-center relative">
                <div class="absolute top-1/2 left-0 right-0 h-1 bg-gray-200 -translate-y-1/2 z-0"></div>
                <div class="absolute top-1/2 left-0 w-1/3 h-1 step-line-active -translate-y-1/2 z-10"></div>
                
                <div class="flex flex-col items-center z-20">
                    <div class="w-8 h-8 rounded-full bg-primary flex items-center justify-center text-white font-medium step-active">1</div>
                    <span class="text-xs mt-2 text-primary font-medium">行程信息</span>
                </div>
                
                <div class="flex flex-col items-center z-20">
                    <div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-500 font-medium">2</div>
                    <span class="text-xs mt-2 text-gray-500">偏好设置</span>
                </div>
                
                <div class="flex flex-col items-center z-20">
                    <div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center text-gray-500 font-medium">3</div>
                    <span class="text-xs mt-2 text-gray-500">生成规划</span>
                </div>
            </div>
        </div>

        <!-- 行程信息表单 -->
        <div class="p-4">
            <form class="space-y-4">
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">旅游日期</label>
                    <div class="flex gap-2">
                        <input type="date" class="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary outline-none transition-colors">
                        <span class="flex items-center text-gray-500">至</span>
                        <input type="date" class="flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary outline-none transition-colors">
                    </div>
                </div>

                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">旅游人数</label>
                    <select class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary outline-none transition-colors appearance-none bg-white">
                        <option>1人 (独自旅行)</option>
                        <option>2人 (情侣/朋友)</option>
                        <option>3-4人 (家庭/小团体)</option>
                        <option>5人以上 (大团体)</option>
                    </select>
                </div>

                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">酒店位置偏好</label>
                    <div class="grid grid-cols-2 gap-2">
                        <label class="flex items-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-location" class="mr-2 text-primary focus:ring-primary" checked>
                            <span class="text-sm">市中心区域</span>
                        </label>
                        <label class="flex items-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-location" class="mr-2 text-primary focus:ring-primary">
                            <span class="text-sm">园林景区附近</span>
                        </label>
                        <label class="flex items-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-location" class="mr-2 text-primary focus:ring-primary">
                            <span class="text-sm">交通便利区域</span>
                        </label>
                        <label class="flex items-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-location" class="mr-2 text-primary focus:ring-primary">
                            <span class="text-sm">特色古镇区域</span>
                        </label>
                    </div>
                </div>

                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">酒店预算</label>
                    <div class="grid grid-cols-3 gap-2">
                        <label class="flex items-center justify-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-budget" class="mr-2 text-primary focus:ring-primary">
                            <span class="text-sm">经济型<br><small class="text-xs text-gray-500">¥300以下/晚</small></span>
                        </label>
                        <label class="flex items-center justify-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-budget" class="mr-2 text-primary focus:ring-primary" checked>
                            <span class="text-sm">舒适型<br><small class="text-xs text-gray-500">¥300-600/晚</small></span>
                        </label>
                        <label class="flex items-center justify-center p-3 border border-gray-200 rounded-lg cursor-pointer hover:border-primary/50 transition-colors">
                            <input type="radio" name="hotel-budget" class="mr-2 text-primary focus:ring-primary">
                            <span class="text-sm">高档型<br><small class="text-xs text-gray-500">¥600以上/晚</small></span>
                        </label>
                    </div>
                </div>

                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">感兴趣的景点类型 (可多选)</label>
                    <div class="flex flex-wrap gap-2">
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary" checked>
                            古典园林
                        </label>
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary" checked>
                            历史古迹
                        </label>
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary">
                            水乡古镇
                        </label>
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary" checked>
                            美食体验
                        </label>
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary">
                            文化体验
                        </label>
                        <label class="px-3 py-1.5 bg-gray-100 rounded-full text-sm cursor-pointer hover:bg-primary/10 hover:text-primary transition-colors">
                            <input type="checkbox" class="mr-1.5 text-primary focus:ring-primary">
                            自然风光
                        </label>
                    </div>
                </div>

                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">其他需求或特殊要求</label>
                    <textarea rows="3" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary/50 focus:border-primary outline-none transition-colors" placeholder="例如：希望行程宽松一些，避开人流高峰，有老人/小孩同行需要特殊安排等"></textarea>
                </div>
            </form>
        </div>

        <!-- 生成按钮 -->
        <div class="p-4 fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-10">
            <button class="w-full bg-primary hover:bg-primary/90 text-white font-medium py-3 px-4 rounded-lg transition-colors flex items-center justify-center">
                <span>生成我的专属旅游规划</span>
                <i class="fa fa-arrow-right ml-2"></i>
            </button>
        </div>
    </main>

    <!-- 底部导航 -->
    <footer class="bg-white border-t border-gray-200 py-2 mt-auto">
        <div class="flex justify-around">
            <a href="home.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-home text-lg"></i>
                <span class="text-xs mt-1">首页</span>
            </a>
            <a href="planner.html" class="flex flex-col items-center py-1 nav-item-active">
                <i class="fa fa-map-o text-lg"></i>
                <span class="text-xs mt-1">规划</span>
            </a>
            <a href="checkin.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-camera text-lg"></i>
                <span class="text-xs mt-1">打卡</span>
            </a>
            <a href="profile.html" class="flex flex-col items-center py-1 text-gray-500 hover:text-primary transition-colors">
                <i class="fa fa-user-o text-lg"></i>
                <span class="text-xs mt-1">我的</span>
            </a>
        </div>
    </footer>
</body>
</html>